package com.softserveinc.interactive_board.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.session.SessionCreationEvent;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.springframework.web.method.annotation.SessionAttributesHandler;

import com.softserveinc.interactive_board.service.InteractiveBoardService;

@Controller
@RequestMapping("/")
public class HomeController {

	@RequestMapping("/")
	public String def() {
//		Session
		return "index";
	}

	private InteractiveBoardService interactiveBoardService;

	@Autowired
	@Qualifier("interactiveBoardServiceImpl")
	public void setInteractiveBoardService(
			InteractiveBoardService interactiveBoardService) {
		this.interactiveBoardService = interactiveBoardService;
	}

}